@extends('frontend.layout')

@section('content')
    <div class="photolane_fn_content_in">

        <!-- CONTACT -->
        <div class="container">
            <div class="photolane_fn_contact" style="padding-top: 0">

                <!-- CONTACT FORM -->
                <div class="fl-col-12">
                    <div class="photolane_fn_contact_form_wrap">
                        <div class="contact_form">

                            <div class="photolane_fn_form">
                                <h4>Our Contact</h4>
                                <p>Mail: <a href="mailto:theone@the1photo.com">theone@the1photo.com</a></p>
                                <p>Tel: 1-626-679-7007, 1-909-833-0133</p>
                                <p>wechat: <img src="" alt="">the1photo</p>
                                <h4>You can contact us with this form.</h4>
                                <form action="/contact" method="post" class="contact_form">
                                    {{ csrf_field() }}
                                    <div class="fl-col-6">
                                        <div class="your-name">
                                            <input type="text" id="name" name="name" placeholder="Name"/>
                                        </div>
                                    </div>
                                    <div class="fl-col-6 last">
                                        <div class="your-email">
                                            <input type="text" id="email" name="email" placeholder="Email"/>
                                        </div>
                                    </div>

                                    <div class="clearfix"></div>

                                    <div class="your-message">
                                        <textarea id="content" name="content" placeholder="Message" cols="3"
                                                  rows="12"></textarea>
                                    </div>

                                    <div class="button">
                                        <input type="submit" class="photolane_fn_btn" value="Submit"
                                               style="color: black;border-color: blue"/>
                                    </div>
                                    <!-- RETURN MESSAGES -->
                                    @if ($errors->any())
                                        <div class="empty_notice" style="display: block">
                                            <ul>
                                                @foreach ($errors->all() as $error)
                                                    <li>{{ $error }}</li>
                                                @endforeach
                                            </ul>
                                        </div>
                                @endif
                                <!-- /RETURN MESSAGES -->

                                </form>
                            </div>

                        </div>
                    </div>
                </div>
                <!-- /CONTACT FORM -->

            </div>
        </div>
        <!-- /CONTACT -->

    </div>
@endsection